Imports Microsoft.VisualBasic
Imports System
Imports System.Collections
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.HtmlControls
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Xml.Linq
Imports facebook.Schema

Namespace IFrameSample
	Partial Public Class [Default]
		Inherits System.Web.UI.Page
		Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
			LoadFriends()
		End Sub

		Private Sub LoadFriends()
			Try
				FriendList1.Friends = Master.API.friends.getUserObjects()

				PhotoAlbum1.FacebookAPI = Master.API
				PhotoAlbum1.LoadAlbums()

				UserProfile1.User = Master.API.users.getInfo(Master.API.uid)
			Catch e As facebook.Utility.FacebookException
				System.Diagnostics.Debug.WriteLine(e.Message)
			End Try
		End Sub


	End Class
End Namespace
